* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

/* 顶部样式 */
.box {
    width: 100%;
    background: #f8f8f8;
}

.log {
    margin-left: 200px;
    width: 300px;
}

.top {
    display: flex;
    align-items: center;
}

.top ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 300px;
}

.top ul li {
    margin: 20px;
}

/* 搜索框 */
.search {
    position: relative;
    margin-left: 20px;
    width: 200px;
    height: 30px;
    border: 2px solid #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 #acacac;
}

.search:hover .hidden {
    display: block;
}

.search .hidden {
    position: absolute;
    z-index: 999;
    display: none;
}

.hidden {
    width: 200px;
    height: 50px;
    margin-top: 5px;
    border-radius: 4px;
    background: #f8f8f8;
    box-shadow: 0 2px 2px 0 #e7e1e1;
}

.hidden p a {
    margin-left: 10px;
    text-decoration: none;
    line-height: 20px;
    color: #acacac;
}

.searchbox {
    display: flex;
    margin-left: 10px;
}

.searchbox input {
    line-height: 30px;
    outline: none;
    border: none;
    background: none;
}

.search img {
    margin-top: 2px;
    width: 25px;
    height: 25px;
}


/* 导航栏 */
.navbar {
    width: 100%;
    height: 40px;
    background: #fb4343;
    position: absolute;
    /* 固定滚动 */
    /* position: fixed; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.navbar a {
    /* 清楚a标签的下划线 */
    text-decoration: none;
    color: #fff;
}

.navbar .nav {
    width: 1200px;
    height: 100%;
    /* 让元素自动水平居中 */
    margin: 0 auto;
}

.img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px auto;
    padding-left: 20px;
}

.navbar .nav ul {
    /* 相对定位 */
    position: relative;
    /* 弹性布局 */
    display: flex;
    /* 让元素平均分配宽度 */
    justify-content: space-around;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.navbar .nav ul li:hover {
    background: rgba(184, 30, 30, 1);
}

.navbar .nav ul>li {
    width: 100%;
    height: 100%;
}

.navbar .nav ul>li>a {
    /* 因为a元素是行内元素 必须将其转为行内块或者块级才能设置宽度和高度*/
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    text-align: center;
}

.navbar .nav ul>li ol {
    width: 100%;
    background: rgba(109, 109, 109, 0.8);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    /* 让盒子先沿着y轴缩放到0 也就是隐藏了 */
    transform: scaleY(0);
    /* 需要酱盒子从上面滑动下来.设置一下缩放的中心点即可 设置到最上面的中间位置 */
    transform-origin: 50% 0;
    /* 设置过度 */
    transition: all 0.6s;
}

.navbar .nav ul>li ol li {
    height: 40px;
    border-bottom: 1px solid rgba(109, 109, 109, 0.2);
}

.navbar .nav ul li ol li a {
    display: block;
    width: 200px;
    height: 100px;
    line-height: 40px;
    text-align: center;
}

.navbar .nav ul>li ol li:hover {
    background-color: rgba(233, 227, 227, 0.8);
}

.navbar .nav ul>li:hover ol {
    transform: scaleY(1);
}

/* 我的网银 */
/* .nav .banking {
    border-left: 15px outset #a82424;
    border-right: 10px outset #b32a2a;
} */

.navbar .nac {
    width: 100%;
    height: 120px;
    background: #f8f8f8;
    box-shadow: 0 0 10px 0 #acacac;
}

.nac img {
    width: 60px;
    height: 60px;
}

.nac ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 50px;
}

.nac ul>li {
    text-align: center;
    padding: 20px 12px;
}

.nac ul li:hover img {
    /* content: url(../../images/frontEnd/foreign/login图片/我的账户2.png); */
    filter: grayscale(60%);
}

.nac ul a {
    text-align: center;
    text-decoration: none;
    color: #acacac;
}

/* 轮播图 */
.public {
    overflow: hidden;
    position: relative;
    top: 170px;
    left: 10px;
    width: 1500px;
    height: 500px;
    /* background: rgb(223, 94, 94); */
}

.public .img-list {
    /* margin-left: 45px; */
    display: flex;
    width: 1500px;
    height: 500px;
    justify-self: center;
    position: absolute;
    left: 0;
    /* background: #000; */
    /* margin: 200px auto 0; */
    transition: 0.5s ease;
}

.public .img-list img {
    width: 1500px;
    cursor: pointer;
}

/* 小箭头样式设置 */
.public .arrow {
    display: flex;
    position: relative;
    top: 250px;
    justify-content: space-between;
}

.public .arrow a {
    text-decoration: none;
    transform: translate(0, -50%);
    display: block;
    width: 40px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    user-select: none;
    font-size: 30px;
    text-align: center;
    line-height: 70px;
}

.public a .left {
    left: 0;
}

.public a .right {
    left: 0;
}

/* 对小圆点进行样式设置 */
.public .circle-list {
    display: flex;
    position: absolute;
    bottom: 1px;
    left: 750px;
    transform: translate(-50%, 0);
    width: 240px;
    height: 40px;
    z-index: 8;
}

.circle-list>.circle {
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 50%;
}

.circle-list>.circle.active {
    background-color: #e74c3c;
}

/* 登录界面 */
.login-panel {
    position: relative;
    top: -120px;
    left: 960px;
    width: 400px;
    height: 500px;
    background: white;
    /* display: none; */
    transition: all 0.5s;
    box-shadow: 0 0 10px 2px #fff;
}

.login-line {
    height: 60px;
    /* background: rgb(182, 37, 37); */
    border-bottom: 1px solid #acacac;
}

.line-active{
    width: 90px;
    border-bottom: 3px solid red;
}

.login-line img {
    float: left;
    position: relative;
    top: -35px;
    left: 340px;
    width: 10%;
    border: currentColor;
    vertical-align: middle;
}

.login-line-id {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.login-line-id span {
    padding-top: 15px;
    color: #666;
    font-size: 20px;
}

/* 切换界面 */
.contbox{
    display: flex;
    justify-content: space-between;
    /* background: rgb(49, 24, 194); */
}

.box-active {
    display: flex;
    /* background: rgb(4, 160, 30); */
    /* width: 450px; */
}


/* 密码登录区域 */
/* .cont-1{background: #000;} */

.cont-1 p img {
    width: 30px;
    height: 30px;
}

.cont-1 p input {
    width: 250px;
    height: 30px;
    line-height: 30px;
    border: none;
    border-bottom: 1px solid #acacac;
}

.cont-1 .id {
    width: 300px;
    height: 60px;
    margin-top: 20px;
    /* margin-left: 55px; */
    /* background: #000; */
}

.cont-1 .pas {
    width: 300px;
    height: 60px;
    margin-top: 20px;
    /* margin-left: 55px; */
    /* background: rgb(241, 26, 26); */
}

/* 验证码 */
.cont-1 .verification {
    display: flex;
    width: 300px;
    height: 60px;
    margin-top: 20px;
    /* margin-left: 55px; */
    /* background: #000; */
}

.cont-1 .verification .ver {
    width: 150px;
    height: 34px;
}

.cont-1 .verification .btn-default {
    margin-left: 10px;
    border-radius: 50px;
    color: #f0f8f7;
    border: 1px solid #e62525;
    background: #e62525;
}

.cont-1 .checked {
    /* margin-top: 5px; */
    margin-left: 10px;
    /* background: #000; */
    width: 280px;
    height: 30px;
    font-size: 15px;
    height: 50px;
}

.cont-1 .checked input {
    width: 15px;
    height: 15px;
}

.cont-1 .checked a {
    color: #5AA5FF;
}

.cont-1 .submit {
    margin-top: 25px;
    margin-left: 20px;
    width: 300px;
    height: 60px;
    /* background: #000; */
}

.cont-1 .submit button {
    width: 270px;
    height: 34px;
    line-height: 34px;
    background-color: #f56868;
    font-size: 18px;
    color: #fff;
    text-align: center;
    border: 0 none;
    cursor: pointer;
    min-width: 40px;
    box-shadow: 0 1px 2px #999;
    font-weight: bold;
}

.cont-1 #userlog:hover {
    background: rgb(250, 170, 170);
    color: #ffffff;
}

.cont-1 .submit p {
    width: 300px;
    height: 30px;
    color: red;
}

.cont-1 .register {
    /* display: flex; */
    /* justify-content: center; */
    /* margin-top: px; */
    margin-left: 45px;
    width: 300px;
    height: 50px;
    /* background: #000; */
}

.cont-1 .register a {
    padding: 10px;
    font-size: 20px;
    color: #5AA5FF;
}

/* 扫码登录样式设置 */
.cont-2{
    display: none;
    width: 100%;
    position: absolute;
    top: 90px;
    left: 0px;
    background: rgb(36, 247, 124);
}

.cont-2 #erweima{
    margin-left: 50px;
    width: 300px;
}

.cont-2 .sao{
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-left: 80px;
}

.cont-2 p{
    margin-left: 300px;
    color: #5AA5FF;
}

/* 投资理财 */
.investment {
    position: relative;
    top: 175px;
    width: 100%;
    height: 600px;
    /* background: #9c1515; */
    border-bottom: 0 0 -10px -10px #acacac;
}

/* 文字和按钮盒子样式设置 */
.btnfont {
    width: 100%;
    height: 100px;
    /* background: rgb(13, 219, 40); */
}

.font {
    display: flex;
    align-items: center;
    width: 600px;
    height: 65px;
    padding-top: 40px;
    /* background: rgb(185, 25, 25); */
    margin-left: 240px;
}

.font h1 {
    font-size: 36px;
    color: #c7000b;
    float: left;
    line-height: 36px;
}

.font a {
    float: left;
    margin-left: 20px;
    padding: 0 10px;
    border-radius: 3px;
    color: #666;
    font-size: 12px;
    line-height: 24px;
    margin-top: 12px;
    cursor: pointer;
}

/* tab选项卡样式设置 */
.tab {
    width: 100%;
    height: 600px;
    /* background: #000; */
}

.tab ul {
    width: 100%;
    height: 60px;
    display: block;
    margin-left: 240px;
    /* background: rgb(155, 224, 43); */
}

.tab ul li {
    float: left;
    cursor: pointer;
    margin-right: 5px;
    border: 1px solid #c7000b;
    line-height: 38px;
    padding: 0 15px;
    border-radius: 3px;
    font-size: 16px;
    color: #c7000b;
    background-color: #fff;
    text-decoration: none;
}

.tab ul .active {
    background-color: #c7000b;
    color: #fff;
    border: 1px solid #c7000b;
}

.hide {
    width: 100%;
    height: 440px;
    /* background: rgb(13, 25, 134); */
    border-top: 3px solid rgb(168, 29, 29);
}

.hide .first {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 220px;
    overflow: hidden;
    /* margin-top: 20px; */
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    /* background: rgb(233, 10, 10); */
}

.hidebox {
    display: block;
    width: 350px;
    display: table-cell;
    float: left;
    padding-right: 30px;
    border-right: 1px dashed #ccc;
    padding-left: 30px;
    padding-top: 30px;
    overflow: hidden;
}

div.hidebox:last-child {
    border: none;
}

.hidebox a {
    font-size: 16px;
    font-weight: bold;
    color: #c60001;
    margin-left: 6px;
}

.hidebox .img1 {
    width: 20px;
    height: 20px;
}

.hidebox button {
    top: -20px;
    left: 192px;
    border: none;
    border-radius: 3px;
    width: 60px;
    height: 25px;
    line-height: 25px;
    background-color: #ff7878;
    color: #fff;
    font-size: 12px;
    position: relative;
    right: 0;
    text-align: center;
    cursor: pointer;
    bottom: 0px;
}

.hidebox:hover button {
    background: rgb(240, 202, 202);
}

.hide .second {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 220px;
    /* background: rgb(32, 240, 136); */
}

.hide h4 {
    font-size: 16px;
    color: #000000;
    display: inline-block;
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

/*  惠生活盒子样式设置 */
.lifebox {
    position: relative;
    top: 179px;
    width: 100%;
    height: 510px;
    background: url(../../images/frontEnd/login/block-3-bg.png) 0 0 no-repeat;
    background-size: cover;
}

/* 惠生活头部文字设置 */
.lifebox .lifefont {
    padding-top: 50px;
    padding-left: 180px;
}

.lifebox .lifefont h4 {
    float: left;
    font-size: 40px;
    color: #f5ad03;
    line-height: 36px;
}

.lifebox .lifefont a {
    font-size: 18px;
    padding-left: 30px;
    line-height: 55px;
    margin-top: 18px;
    color: #666;
}

/* 图片文字部分，图片设置 */
.lifebox .imgfont ul {
    display: flex;
    margin: 50px 80px;
}

.lifebox .imgfont ul li {
    text-align: center;
}

.lifebox .imgfont ul li .picbox {
    width: 210px;
    height: 228px;
    padding: 0 230px;
    overflow: hidden;
    background: url(../../images/frontEnd/login/pic-box-bg.png) center center no-repeat;
}

.lifebox .imgfont ul li .picbox .pic img {
    border: none;
    margin-top: 10px;
    margin-left: -95px;
}

.lifebox .imgfont ul li .picbox .pic:hover img {
    transform: scale(0.93);
}

.lifebox .imgfont ul li h6 {
    font-size: 20px;
    color: #333;
    line-height: 20px;
    padding: 25px 0;
    text-align: center;
}

.lifebox .imgfont ul li p {
    font-size: 14px;
    color: #333;
    line-height: 20px;
    text-align: center;
}

/* 辅助交易区 */
.attention-block {
    position: relative;
    top: 180px;
    width: 100%;
    padding: 40px 0 60px 0;
    background-color: #fff;
    border-bottom: 4px solid #c90100;
}

.attention-block .attention-box .attention-ul {
    display: flex;
    justify-content: center;
    padding-top: 50px;
}

.attention-ul li {
    min-width: 70px;
    float: left;
    margin-left: 30px;
    text-align: center;
}

.attention-ul li a {
    display: block;
    font-size: 12px;
    line-height: 24px;
    color: #888889;
    text-decoration: none;
}

.attention-ul .img {
    border: none;
    vertical-align: middle;
}

/* 页脚信息 */
.footer-block {
    position: relative;
    top: 180px;
    width: 100%;
    height: 80px;
    background: #353636;
}

.footer-block .footer-block-body {
    overflow: hidden;
    position: relative;
    height: 80px;
}

.footer-block .footer-block-body .footer-left {
    float: left;
    margin-top: 24px;
    margin-left: 200px;
}

.footer-block .footer-block-body .footer-left>ul>li {
    float: left;
    line-height: 26px;
}

.footer-block .footer-block-body .footer-left>ul>li>a {
    padding: 0 10px;
    font-size: 12px;
    color: #d1d2d1;
    text-decoration: none;
    border-right: 1px solid #d1d2d1;
}

.footer-right .copyright-ul {
    display: flex;
}

.footer-right .copyright-ul li {
    margin: 0 0 0 12px;
}

.footer-block .footer-block-body .footer-right {
    position: absolute;
    color: #d1d2d1;
    top: 24px;
    left: 900px;
    overflow: hidden;
}

/* 还回顶部 */
.shortcuttool-wrapper {
    position: fixed;
    bottom: 20px;
    right: 0;
    min-height: 280px;
    z-index: 1000;
    font-family: "Microsoft Yahei";
    /* background: #000; */
}

.shortcuttool-wrapper ul {}

.shortcuttool-wrapper ul li {
    display: block;
    height: 34px;
    position: relative;
    width: 34px;
    overflow: hidden;
    background: url(../../images/frontEnd/login/icon-fix-7.png) center center no-repeat;
}

.shortcuttool-wrapper ul li:nth-child(2) {
    background: url(../../images/frontEnd/login/icon-fix-1.png) center center no-repeat;
}

.shortcuttool-wrapper ul li:nth-child(3) {
    background: url(../../images/frontEnd/login/icon-fix-2.png) center center no-repeat;
}

.shortcuttool-wrapper ul li:nth-child(4) {
    background: url(../../images/frontEnd/login/icon-fix-4.png) center center no-repeat;
}

.shortcuttool-wrapper ul li:last-child {
    transition: all 0.5s;
    display: none;
    background: url(../../images/frontEnd/login/icon-fix-5.png) center center no-repeat;
}

.shortcuttool-wrapper ul li a {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 34px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    background: #18448f;
    transform-origin: -50% 50%;
    transform: rotateZ(90deg);
    transition: transform 0.3s;
}

.shortcuttool-wrapper li:hover a {
    transform: rotateZ(0deg);
}